set file=%%~fi
set path=%%~dpi
set filename=%%~nxi

set pathNoSla=!path:~,-1!
echo !pathNoSla!
echo !file!
echo !filename!
for  %%j in (!pathNoSla!) do (
	::echo %%~nxj
	set foldername=%%~nxj
	if exist "*!foldername!.jar" (
		echo !foldername!
	)
)
	

::dir D:\mvn_repository\com\allinfinance\aps /a:-d /b /s *.jar
